<template>
    <div class="v-curd"><span>{{label}}:</span><input type="text" v-model="name"></div>
</template>
<script>
export default {
    props:['label'],
    data(){
        return{
            name:''
        }
    }
}
</script>

<style lang="scss" scoped>
    .v-curd{
        width: 100%;
        height: 45px;
        background: #fff;
        display: flex;
        align-items: center;
        padding: 0 15px;
        border-bottom: 1px solid #f5f5f5;
        input{
            margin-left: 10px;
            border: none;
            font-size: 16px;
            outline: none;
        }
    }
</style>